<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD><TITLE>wm manual page - Tk Built-In Commands</TITLE>
<link rel="stylesheet" href="../docs.css" type="text/css" media="all">
</HEAD>
<BODY><H2><a href="../contents.htm">Tcl8.6.11/Tk8.6.11 Documentation</a> <small>&gt;</small> <a href="contents.htm">Tk Commands</a> <small>&gt;</small> wm</H2>
<H3><A HREF="../UserCmd/contents.htm">Tcl/Tk Applications</A> | <A HREF="../TclCmd/contents.htm">Tcl Commands</A> | <A HREF="../TkCmd/contents.htm">Tk Commands</A> | <A HREF="../ItclCmd/contents.htm">[incr Tcl] Package Commands</A> | <A HREF="../SqliteCmd/contents.htm">SQLite3 Package Commands</A> | <A HREF="../TdbcCmd/contents.htm">TDBC Package Commands</A> | <A HREF="../TdbcmysqlCmd/contents.htm">tdbc::mysql Package Commands</A> | <A HREF="../TdbcodbcCmd/contents.htm">tdbc::odbc Package Commands</A> | <A HREF="../TdbcpostgresCmd/contents.htm">tdbc::postgres Package Commands</A> | <A HREF="../TdbcsqliteCmd/contents.htm">tdbc::sqlite3 Package Commands</A> | <A HREF="../ThreadCmd/contents.htm">Thread Package Commands</A> | <A HREF="../TclLib/contents.htm">Tcl C API</A> | <A HREF="../TkLib/contents.htm">Tk C API</A> | <A HREF="../ItclLib/contents.htm">[incr Tcl] Package C API</A> | <A HREF="../TdbcLib/contents.htm">TDBC Package C API</A></H3>
<DL>
<DD><A HREF="wm.htm#M2" NAME="L2320">NAME</A>
<DL><DD>wm &mdash; Communicate with window manager</DD></DL>
<DD><A HREF="wm.htm#M3" NAME="L2321">SYNOPSIS</A>
<DL>
</DL>
<DD><A HREF="wm.htm#M4" NAME="L2322">DESCRIPTION</A>
<DL class="description">
<DD><A HREF="wm.htm#M5" NAME="L2323"><B>wm aspect </B><I>window</I> ?<I>minNumer minDenom maxNumer maxDenom</I>?</A>
<DD><A HREF="wm.htm#M6" NAME="L2324"><B>wm attributes </B><I>window</I></A>
<DD><A HREF="wm.htm#M7" NAME="L2325"><B>wm attributes </B><I>window</I> ?<B>option</B>?</A>
<DD><A HREF="wm.htm#M8" NAME="L2326"><B>wm attributes </B><I>window</I> ?<B>option value option value...</B>?</A>
<DL class="description">
<DD><A HREF="wm.htm#M9" NAME="L2327"><B>-alpha</B></A>
<DD><A HREF="wm.htm#M10" NAME="L2328"><B>-fullscreen</B></A>
<DD><A HREF="wm.htm#M11" NAME="L2329"><B>-topmost</B></A>
</DL>
<DL class="description">
<DD><A HREF="wm.htm#M12" NAME="L2330"><B>-disabled</B></A>
<DD><A HREF="wm.htm#M13" NAME="L2331"><B>-toolwindow</B></A>
<DD><A HREF="wm.htm#M14" NAME="L2332"><B>-transparentcolor</B></A>
</DL>
<DL class="description">
<DD><A HREF="wm.htm#M15" NAME="L2333"><B>-modified</B></A>
<DD><A HREF="wm.htm#M16" NAME="L2334"><B>-notify</B></A>
<DD><A HREF="wm.htm#M17" NAME="L2335"><B>-titlepath</B></A>
<DD><A HREF="wm.htm#M18" NAME="L2336"><B>-transparent</B></A>
</DL>
<DL class="description">
<DD><A HREF="wm.htm#M19" NAME="L2337"><B>-type</B></A>
<DL class="description">
<DD><A HREF="wm.htm#M20" NAME="L2338"><B>desktop</B></A>
<DD><A HREF="wm.htm#M21" NAME="L2339"><B>dock</B></A>
<DD><A HREF="wm.htm#M22" NAME="L2340"><B>toolbar</B></A>
<DD><A HREF="wm.htm#M23" NAME="L2341"><B>menu</B></A>
<DD><A HREF="wm.htm#M24" NAME="L2342"><B>utility</B></A>
<DD><A HREF="wm.htm#M25" NAME="L2343"><B>splash</B></A>
<DD><A HREF="wm.htm#M26" NAME="L2344"><B>dialog</B></A>
<DD><A HREF="wm.htm#M27" NAME="L2345"><B>dropdown_menu</B></A>
<DD><A HREF="wm.htm#M28" NAME="L2346"><B>popup_menu</B></A>
<DD><A HREF="wm.htm#M29" NAME="L2347"><B>tooltip</B></A>
<DD><A HREF="wm.htm#M30" NAME="L2348"><B>notification</B></A>
<DD><A HREF="wm.htm#M31" NAME="L2349"><B>combo</B></A>
<DD><A HREF="wm.htm#M32" NAME="L2350"><B>dnd</B></A>
<DD><A HREF="wm.htm#M33" NAME="L2351"><B>normal</B></A>
</DL>
<DD><A HREF="wm.htm#M34" NAME="L2352"><B>-zoomed</B></A>
</DL>
<DD><A HREF="wm.htm#M35" NAME="L2353"><B>wm client </B><I>window</I> ?<I>name</I>?</A>
<DD><A HREF="wm.htm#M36" NAME="L2354"><B>wm colormapwindows </B><I>window</I> ?<I>windowList</I>?</A>
<DD><A HREF="wm.htm#M37" NAME="L2355"><B>wm command </B><I>window</I> ?<I>value</I>?</A>
<DD><A HREF="wm.htm#M38" NAME="L2356"><B>wm deiconify </B><I>window</I></A>
<DD><A HREF="wm.htm#M39" NAME="L2357"><B>wm focusmodel </B><I>window</I> ?<B>active</B>|<B>passive</B>?</A>
<DD><A HREF="wm.htm#M40" NAME="L2358"><B>wm forget </B><I>window</I></A>
<DD><A HREF="wm.htm#M41" NAME="L2359"><B>wm frame </B><I>window</I></A>
<DD><A HREF="wm.htm#M42" NAME="L2360"><B>wm geometry </B><I>window</I> ?<I>newGeometry</I>?</A>
<DD><A HREF="wm.htm#M43" NAME="L2361"><B>wm grid </B><I>window</I> ?<I>baseWidth baseHeight widthInc heightInc</I>?</A>
<DD><A HREF="wm.htm#M44" NAME="L2362"><B>wm group </B><I>window</I> ?<I>pathName</I>?</A>
<DD><A HREF="wm.htm#M45" NAME="L2363"><B>wm iconbitmap </B><I>window</I> ?<I>bitmap</I>?</A>
<DL class="description">
<DD><A HREF="wm.htm#M46" NAME="L2364"><B>wm iconbitmap </B><I>window</I> ?<B>-default</B>? ?<I>image</I>?</A>
</DL>
<DD><A HREF="wm.htm#M47" NAME="L2365"><B>wm iconify </B><I>window</I></A>
<DD><A HREF="wm.htm#M48" NAME="L2366"><B>wm iconmask </B><I>window</I> ?<I>bitmap</I>?</A>
<DD><A HREF="wm.htm#M49" NAME="L2367"><B>wm iconname </B><I>window</I> ?<I>newName</I>?</A>
<DD><A HREF="wm.htm#M50" NAME="L2368"><B>wm iconphoto </B><I>window</I> ?<B>-default</B>? <I>image1</I> ?<I>image2 ...</I>?</A>
<DD><A HREF="wm.htm#M51" NAME="L2369"><B>wm iconposition </B><I>window</I> ?<I>x y</I>?</A>
<DD><A HREF="wm.htm#M52" NAME="L2370"><B>wm iconwindow </B><I>window</I> ?<I>pathName</I>?</A>
<DD><A HREF="wm.htm#M53" NAME="L2371"><B>wm manage </B><I>widget</I></A>
<DD><A HREF="wm.htm#M54" NAME="L2372"><B>wm maxsize </B><I>window</I> ?<I>width height</I>?</A>
<DD><A HREF="wm.htm#M55" NAME="L2373"><B>wm minsize </B><I>window</I> ?<I>width height</I>?</A>
<DD><A HREF="wm.htm#M56" NAME="L2374"><B>wm overrideredirect </B><I>window</I> ?<I>boolean</I>?</A>
<DD><A HREF="wm.htm#M57" NAME="L2375"><B>wm positionfrom </B><I>window</I> ?<I>who</I>?</A>
<DD><A HREF="wm.htm#M58" NAME="L2376"><B>wm protocol </B><I>window</I> ?<I>name</I>? ?<I>command</I>?</A>
<DD><A HREF="wm.htm#M59" NAME="L2377"><B>wm resizable </B><I>window</I> ?<I>width height</I>?</A>
<DD><A HREF="wm.htm#M60" NAME="L2378"><B>wm sizefrom </B><I>window</I> ?<I>who</I>?</A>
<DD><A HREF="wm.htm#M61" NAME="L2379"><B>wm stackorder </B><I>window</I> ?<B>isabove</B>|<B>isbelow </B><I>window</I>?</A>
<DD><A HREF="wm.htm#M62" NAME="L2380"><B>wm state </B><I>window</I> ?newstate?</A>
<DD><A HREF="wm.htm#M63" NAME="L2381"><B>wm title </B><I>window</I> ?<I>string</I>?</A>
<DD><A HREF="wm.htm#M64" NAME="L2382"><B>wm transient </B><I>window</I> ?<I>container</I>?</A>
<DD><A HREF="wm.htm#M65" NAME="L2383"><B>wm withdraw </B><I>window</I></A>
</DL>
<DD><A HREF="wm.htm#M66" NAME="L2384">GEOMETRY MANAGEMENT</A>
<DD><A HREF="wm.htm#M67" NAME="L2385">GRIDDED GEOMETRY MANAGEMENT</A>
<DD><A HREF="wm.htm#M68" NAME="L2386">BUGS</A>
<DD><A HREF="wm.htm#M69" NAME="L2387">EXAMPLES</A>
<DD><A HREF="wm.htm#M70" NAME="L2388">SEE ALSO</A>
<DD><A HREF="wm.htm#M71" NAME="L2389">KEYWORDS</A>
</DL>
<H3><A NAME="M2">NAME</A></H3>
wm &mdash; Communicate with window manager
<H3><A NAME="M3">SYNOPSIS</A></H3>
<B>wm</B> <I>option window </I>?<I>args</I>?<BR>
<H3><A NAME="M4">DESCRIPTION</A></H3>
The <B>wm</B> command is used to interact with window managers in
order to control such things as the title for a window, its geometry,
or the increments in terms of which it may be resized.  The <B>wm</B>
command can take any of a number of different forms, depending on
the <I>option</I> argument.  All of the forms expect at least one
additional argument, <I>window</I>, which must be the path name of a
top-level window.
<P>
The legal forms for the <B>wm</B> command are:
<P>
<DL class="description">
<DT><A NAME="M5"><B>wm aspect </B><I>window</I> ?<I>minNumer minDenom maxNumer maxDenom</I>?</A><DD>
If <I>minNumer</I>, <I>minDenom</I>, <I>maxNumer</I>, and <I>maxDenom</I>
are all specified, then they will be passed to the window manager
and the window manager should use them to enforce a range of
acceptable aspect ratios for <I>window</I>.  The aspect ratio of
<I>window</I> (width/length) will be constrained to lie
between <I>minNumer</I>/<I>minDenom</I> and <I>maxNumer</I>/<I>maxDenom</I>.
If <I>minNumer</I> etc. are all specified as empty strings, then
any existing aspect ratio restrictions are removed.
If <I>minNumer</I> etc. are specified, then the command returns an
empty string.  Otherwise, it returns
a Tcl list containing four elements, which are the current values
of <I>minNumer</I>, <I>minDenom</I>, <I>maxNumer</I>, and <I>maxDenom</I>
(if no aspect restrictions are in effect, then an empty string is
returned).
<P><DT><A NAME="M6"><B>wm attributes </B><I>window</I></A><DD>
<P><DT><A NAME="M7"><B>wm attributes </B><I>window</I> ?<B>option</B>?</A><DD>
<P><DT><A NAME="M8"><B>wm attributes </B><I>window</I> ?<B>option value option value...</B>?</A><DD>
This subcommand returns or sets platform specific attributes associated
with a window. The first form returns a list of the platform specific
flags and their values. The second form returns the value for the
specific option. The third form sets one or more of the values. The
values are as follows:
<P>
All platforms support the following attributes (though X11 users
should see the notes below):
<P>
<DL class="description">
<DT><A NAME="M9"><B>-alpha</B></A><DD>
Specifies the alpha transparency level of the toplevel. It accepts a value
from <B>0.0</B> (fully transparent) to <B>1.0</B> (opaque).  Values outside that
range will be constrained.  Where not supported, the <B>-alpha</B> value
remains at <B>1.0</B>.
<P><DT><A NAME="M10"><B>-fullscreen</B></A><DD>
Places the window in a mode that takes up the entire screen, has no
borders, and covers the general use area (i.e. Start menu and taskbar on
Windows, dock and menubar on OSX, general window decorations on X11).
<P><DT><A NAME="M11"><B>-topmost</B></A><DD>
Specifies whether this is a topmost window (displays above all other windows).
<P></DL>
<P>
On Windows, the following attributes may be set.
<P>
<DL class="description">
<DT><A NAME="M12"><B>-disabled</B></A><DD>
Specifies whether the window is in a disabled state.
<P><DT><A NAME="M13"><B>-toolwindow</B></A><DD>
Specifies a toolwindow style window (as defined in the MSDN).
<P><DT><A NAME="M14"><B>-transparentcolor</B></A><DD>
Specifies the transparent color index of the toplevel.  It takes any color
value accepted by <B><A HREF="../TkLib/GetColor.htm">Tk_GetColor</A></B>.  If the empty string is specified
(default), no transparent color is used.  This is supported on Windows
2000/XP+.  Where not supported, the <B>-transparentcolor</B> value remains
at <B>{}</B>.
<P></DL>
<P>
On Mac OS X, the following attributes may be set.
<P>
<DL class="description">
<DT><A NAME="M15"><B>-modified</B></A><DD>
Specifies the modification state of the window (determines whether the
window close widget contains the modification indicator and whether the
proxy icon is draggable).
<P><DT><A NAME="M16"><B>-notify</B></A><DD>
Specifies process notification state (bouncing of the application dock icon).
<P><DT><A NAME="M17"><B>-titlepath</B></A><DD>
Specifies the path of the file referenced as the window proxy icon (which
can be dragged and dropped in lieu of the file's finder icon).
<P><DT><A NAME="M18"><B>-transparent</B></A><DD>
Makes the window content area transparent and turns off the window shadow. For
the transparency to be effective, the toplevel background needs to be set to a
color with some alpha, e.g.
&ldquo;systemTransparent&rdquo;.
<P></DL>
<P>
On X11, the following attributes may be set. These are not supported by all
window managers, and will have no effect under older WMs.
<P>
<DL class="description">
<DT><A NAME="M19"><B>-type</B></A><DD>
Requests that the window should be interpreted by the window manager as being
of the specified type(s). This may cause the window to be decorated in a
different way or otherwise managed differently, though exactly what happens is
entirely up to the window manager. A list of types may be used, in order of
preference. The following values are mapped to constants defined in the EWMH
specification (using others is possible, but not advised):
<P>
<DL class="description">
<DT><A NAME="M20"><B>desktop</B></A><DD>
indicates a desktop feature,
<P><DT><A NAME="M21"><B>dock</B></A><DD>
indicates a dock/panel feature,
<P><DT><A NAME="M22"><B>toolbar</B></A><DD>
indicates a toolbar window that should be acting on behalf of another window,
as indicated with <B>wm transient</B>,
<P><DT><A NAME="M23"><B>menu</B></A><DD>
indicates a torn-off menu that should be acting on behalf of another window,
as indicated with <B>wm transient</B>,
<P><DT><A NAME="M24"><B>utility</B></A><DD>
indicates a utility window (e.g., palette or toolbox) that should be acting on
behalf of another window, as indicated with <B>wm transient</B>,
<P><DT><A NAME="M25"><B>splash</B></A><DD>
indicates a splash screen, displayed during application start up,
<P><DT><A NAME="M26"><B>dialog</B></A><DD>
indicates a general dialog window, that should be acting on behalf of another
window, as indicated with <B>wm transient</B>,
<P><DT><A NAME="M27"><B>dropdown_menu</B></A><DD>
indicates a menu summoned from a menu bar, which should usually also be set to
be override-redirected (with <B>wm overrideredirect</B>),
<P><DT><A NAME="M28"><B>popup_menu</B></A><DD>
indicates a popup menu, which should usually also be set to be
override-redirected (with <B>wm overrideredirect</B>),
<P><DT><A NAME="M29"><B>tooltip</B></A><DD>
indicates a tooltip window, which should usually also be set to be
override-redirected (with <B>wm overrideredirect</B>),
<P><DT><A NAME="M30"><B>notification</B></A><DD>
indicates a window that provides a background notification of some event,
which should usually also be set to be override-redirected (with <B>wm
overrideredirect</B>),
<P><DT><A NAME="M31"><B>combo</B></A><DD>
indicates the drop-down list of a combobox widget, which should usually also
be set to be override-redirected (with <B>wm overrideredirect</B>),
<P><DT><A NAME="M32"><B>dnd</B></A><DD>
indicates a window that represents something being dragged, which should
usually also be set to be override-redirected (with
<B>wm overrideredirect</B>),
<P><DT><A NAME="M33"><B>normal</B></A><DD>
indicates a window that has no special interpretation.
<P></DL>
<P><DT><A NAME="M34"><B>-zoomed</B></A><DD>
Requests that the window should be maximized. This is the same as <B>wm state
zoomed</B> on Windows and Mac OS X.
</DL><P>On X11, changes to window attributes are performed asynchronously. Querying
the value of an attribute returns the current state, which will not be the
same as the value most recently set if the window manager has not yet
processed the request or if it does not support the attribute.<DL class="description">
</DL>
<P><DT><A NAME="M35"><B>wm client </B><I>window</I> ?<I>name</I>?</A><DD>
If <I>name</I> is specified, this command stores <I>name</I> (which
should be the name of
the host on which the application is executing) in <I>window</I>'s
<B>WM_CLIENT_MACHINE</B> property for use by the window manager or
session manager.
The command returns an empty string in this case.
If <I>name</I> is not specified, the command returns the last name
set in a <B>wm client</B> command for <I>window</I>.
If <I>name</I> is specified as an empty string, the command deletes the
<B>WM_CLIENT_MACHINE</B> property from <I>window</I>.
<P><DT><A NAME="M36"><B>wm colormapwindows </B><I>window</I> ?<I>windowList</I>?</A><DD>
This command is used to manipulate the <B>WM_COLORMAP_WINDOWS</B>
property, which provides information to the window managers about
windows that have private colormaps.
<P>
If <I>windowList</I> is not specified, the command returns a list
whose elements are the names of the windows in the <B>WM_COLORMAP_WINDOWS</B>
property.
If <I>windowList</I> is specified, it consists of a list of window
path names;  the command overwrites the <B>WM_COLORMAP_WINDOWS</B>
property with the given windows and returns an empty string.
The <B>WM_COLORMAP_WINDOWS</B> property should normally contain a
list of the internal windows within <I>window</I> whose colormaps differ
from their parents.
<P>The order of the windows in the property indicates a priority order:
the window manager will attempt to install as many colormaps as possible
from the head of this list when <I>window</I> gets the colormap focus.
If <I>window</I> is not included among the windows in <I>windowList</I>,
Tk implicitly adds it at the end of the <B>WM_COLORMAP_WINDOWS</B>
property, so that its colormap is lowest in priority.
If <B>wm colormapwindows</B> is not invoked, Tk will automatically set
the property for each top-level window to all the internal windows
whose colormaps differ from their parents, followed by the top-level
itself;  the order of the internal windows is undefined.
See the ICCCM documentation for more information on the
<B>WM_COLORMAP_WINDOWS</B> property.
<P><DT><A NAME="M37"><B>wm command </B><I>window</I> ?<I>value</I>?</A><DD>
If <I>value</I> is specified, this command stores <I>value</I> in <I>window</I>'s
<B>WM_COMMAND</B> property for use by the window manager or
session manager and returns an empty string.
<I>Value</I> must have proper list structure;  the elements should
contain the words of the command used to invoke the application.
If <I>value</I> is not specified then the command returns the last value
set in a <B>wm command</B> command for <I>window</I>.
If <I>value</I> is specified as an empty string, the command
deletes the <B>WM_COMMAND</B> property from <I>window</I>.
<P><DT><A NAME="M38"><B>wm deiconify </B><I>window</I></A><DD>
Arrange for <I>window</I> to be displayed in normal (non-iconified) form.
This is done by mapping the window.  If the window has never been
mapped then this command will not map the window, but it will ensure
that when the window is first mapped it will be displayed
in de-iconified form.  On Windows, a deiconified window will also be
raised and be given the focus (made the active window).
Returns an empty string.
<P><DT><A NAME="M39"><B>wm focusmodel </B><I>window</I> ?<B>active</B>|<B>passive</B>?</A><DD>
If <B>active</B> or <B>passive</B> is supplied as an optional argument
to the command, then it specifies the focus model for <I>window</I>.
In this case the command returns an empty string.  If no additional
argument is supplied, then the command returns the current focus
model for <I>window</I>.
<P>
An <B>active</B> focus model means that <I>window</I> will claim the
input focus for itself or its descendants, even at times when
the focus is currently in some other application.  <B>Passive</B> means that
<I>window</I> will never claim the focus for itself:  the window manager
should give the focus to <I>window</I> at appropriate times.  However,
once the focus has been given to <I>window</I> or one of its descendants,
the application may re-assign the focus among <I>window</I>'s descendants.
The focus model defaults to <B>passive</B>, and Tk's <B><A HREF="../TkCmd/focus.htm">focus</A></B> command
assumes a passive model of focusing.
<P><DT><A NAME="M40"><B>wm forget </B><I>window</I></A><DD>
The <I>window</I> will be unmapped from the screen and will no longer
be managed by <B>wm</B>.  Windows created with the <B><A HREF="../TkCmd/toplevel.htm">toplevel</A></B>
command will be treated like <B><A HREF="../TkCmd/frame.htm">frame</A></B> windows once they are no
longer managed by <B>wm</B>, however, the <B>-menu</B> configuration will be
remembered and the menus will return once the widget is managed again.
<P><DT><A NAME="M41"><B>wm frame </B><I>window</I></A><DD>
If <I>window</I> has been reparented by the window manager into a
decorative frame, the command returns the platform specific window
identifier for the outermost frame that contains <I>window</I> (the
window whose parent is the root or virtual root).  If <I>window</I>
has not been reparented by the window manager then the command returns
the platform specific window identifier for <I>window</I>.
<P><DT><A NAME="M42"><B>wm geometry </B><I>window</I> ?<I>newGeometry</I>?</A><DD>
If <I>newGeometry</I> is specified, then the geometry of <I>window</I>
is changed and an empty string is returned.  Otherwise the current
geometry for <I>window</I> is returned (this is the most recent
geometry specified either by manual resizing or
in a <B>wm geometry</B> command).  <I>NewGeometry</I> has
the form <B>=</B><I>width</I><B>x</B><I>height</I><B>&plusmn;</B><I>x</I><B>&plusmn;</B><I>y</I>, where
any of <B>=</B>, <I>width</I><B>x</B><I>height</I>, or <B>&plusmn;</B><I>x</I><B>&plusmn;</B><I>y</I>
may be omitted.  <I>Width</I> and <I>height</I> are positive integers
specifying the desired dimensions of <I>window</I>.  If <I>window</I>
is gridded (see <B><A HREF="#M67">GRIDDED GEOMETRY MANAGEMENT</A></B> below) then the dimensions
are specified in grid units;  otherwise they are specified in pixel
units.
<P>
<I>X</I> and <I>y</I> specify the desired location of
<I>window</I> on the screen, in pixels.
If <I>x</I> is preceded by <B>+</B>, it specifies
the number of pixels between the left edge of the screen and the left
edge of <I>window</I>'s border;  if preceded by <B>-</B> then
<I>x</I> specifies the number of pixels
between the right edge of the screen and the right edge of <I>window</I>'s
border.  If <I>y</I> is preceded by <B>+</B> then it specifies the
number of pixels between the top of the screen and the top
of <I>window</I>'s border;  if <I>y</I> is preceded by <B>-</B> then
it specifies the number of pixels between the bottom of <I>window</I>'s
border and the bottom of the screen.
<P>
If <I>newGeometry</I> is specified as an empty string then any
existing user-specified geometry for <I>window</I> is cancelled, and
the window will revert to the size requested internally by its
widgets.
<P>Note that this is related to <B><A HREF="../TkCmd/winfo.htm">winfo geometry</A></B>, but not the same. That can
only query the geometry, and always reflects Tk's current understanding of the
actual size and location of <I>window</I>, whereas <B>wm geometry</B> allows
both setting and querying of the <I>window manager</I>'s understanding of the
size and location of the window. This can vary significantly, for example to
reflect the addition of decorative elements to <I>window</I> such as title
bars, and window managers are not required to precisely follow the requests
made through this command.
<P><DT><A NAME="M43"><B>wm grid </B><I>window</I> ?<I>baseWidth baseHeight widthInc heightInc</I>?</A><DD>
This command indicates that <I>window</I> is to be managed as a
gridded window.
It also specifies the relationship between grid units and pixel units.
<I>BaseWidth</I> and <I>baseHeight</I> specify the number of grid
units corresponding to the pixel dimensions requested internally
by <I>window</I> using <B><A HREF="../TkLib/GeomReq.htm">Tk_GeometryRequest</A></B>.  <I>WidthInc</I>
and <I>heightInc</I> specify the number of pixels in each horizontal
and vertical grid unit.
These four values determine a range of acceptable sizes for
<I>window</I>, corresponding to grid-based widths and heights
that are non-negative integers.
Tk will pass this information to the window manager;  during
manual resizing, the window manager will restrict the window's size
to one of these acceptable sizes.
<P>
Furthermore, during manual resizing the window manager will display
the window's current size in terms of grid units rather than pixels.
If <I>baseWidth</I> etc. are all specified as empty strings, then
<I>window</I> will no longer be managed as a gridded window.  If
<I>baseWidth</I> etc. are specified then the return value is an
empty string.
<P>
Otherwise the return value is a Tcl list containing
four elements corresponding to the current <I>baseWidth</I>,
<I>baseHeight</I>, <I>widthInc</I>, and <I>heightInc</I>;  if
<I>window</I> is not currently gridded, then an empty string
is returned.
<P>Note: this command should not be needed very often, since the
<B><A HREF="../TkLib/SetGrid.htm">Tk_SetGrid</A></B> library procedure and the <B>setGrid</B> option
provide easier access to the same functionality.
<P><DT><A NAME="M44"><B>wm group </B><I>window</I> ?<I>pathName</I>?</A><DD>
If <I>pathName</I> is specified, it gives the path name for the leader of
a group of related windows.  The window manager may use this information,
for example, to unmap all of the windows in a group when the group's
leader is iconified.  <I>PathName</I> may be specified as an empty string to
remove <I>window</I> from any group association.  If <I>pathName</I> is
specified then the command returns an empty string;  otherwise it
returns the path name of <I>window</I>'s current group leader, or an empty
string if <I>window</I> is not part of any group.
<P><DT><A NAME="M45"><B>wm iconbitmap </B><I>window</I> ?<I>bitmap</I>?</A><DD>
If <I>bitmap</I> is specified, then it names a bitmap in the standard
forms accepted by Tk (see the <B><A HREF="../TkLib/GetBitmap.htm">Tk_GetBitmap</A></B> manual entry for details).
This bitmap is passed to the window manager to be displayed in
<I>window</I>'s icon, and the command returns an empty string.  If
an empty string is specified for <I>bitmap</I>, then any current icon
bitmap is cancelled for <I>window</I>.
If <I>bitmap</I> is specified then the command returns an empty string.
Otherwise it returns the name of
the current icon bitmap associated with <I>window</I>, or an empty
string if <I>window</I> has no icon bitmap.  On the Windows operating
system, an additional flag is supported:
<P>
<DL class="description">
<DT><A NAME="M46"><B>wm iconbitmap </B><I>window</I> ?<B>-default</B>? ?<I>image</I>?</A><DD>
If the <B>-default</B>
flag is given, the icon is applied to all toplevel windows (existing
and future) to which no other specific icon has yet been applied.
In addition to bitmap image types, a full path specification to
any file which contains a valid
Windows icon is also accepted (usually .ico or .icr files), or any
file for which the shell has assigned an icon.  Tcl will
first test if the file contains an icon, then if it has an assigned
icon, and finally, if that fails, test for
a bitmap.
<P></DL>
<P><DT><A NAME="M47"><B>wm iconify </B><I>window</I></A><DD>
Arrange for <I>window</I> to be iconified.  It <I>window</I> has not
yet been mapped for the first time, this command will arrange for
it to appear in the iconified state when it is eventually mapped.
<P><DT><A NAME="M48"><B>wm iconmask </B><I>window</I> ?<I>bitmap</I>?</A><DD>
If <I>bitmap</I> is specified, then it names a bitmap in the standard
forms accepted by Tk (see the <B><A HREF="../TkLib/GetBitmap.htm">Tk_GetBitmap</A></B> manual entry for details).
This bitmap is passed to the window manager to be used as a mask
in conjunction with the <B>iconbitmap</B> option:  where the mask
has zeroes no icon will be displayed;  where it has ones, the bits
from the icon bitmap will be displayed.  If
an empty string is specified for <I>bitmap</I> then any current icon
mask is cancelled for <I>window</I> (this is equivalent to specifying
a bitmap of all ones).  If <I>bitmap</I> is specified
then the command returns an empty string.  Otherwise it
returns the name of the current icon mask associated with
<I>window</I>, or an empty string if no mask is in effect.
<P><DT><A NAME="M49"><B>wm iconname </B><I>window</I> ?<I>newName</I>?</A><DD>
If <I>newName</I> is specified, then it is passed to the window
manager;  the window manager should display <I>newName</I> inside
the icon associated with <I>window</I>.  In this case an empty
string is returned as result.  If <I>newName</I> is not specified
then the command returns the current icon name for <I>window</I>,
or an empty string if no icon name has been specified (in this
case the window manager will normally display the window's title,
as specified with the <B>wm title</B> command).
<P><DT><A NAME="M50"><B>wm iconphoto </B><I>window</I> ?<B>-default</B>? <I>image1</I> ?<I>image2 ...</I>?</A><DD>
Sets the titlebar icon for <I>window</I> based on the named photo images.
If <B>-default</B> is specified, this is applied to all future created
toplevels as well.  The data in the images is taken as a snapshot at the
time of invocation.  If the images are later changed, this is not
reflected to the titlebar icons.  Multiple images are accepted to allow
different images sizes (e.g., 16x16 and 32x32) to be provided. The window
manager may scale provided icons to an appropriate size.
<P>
On Windows, the images are packed into a Windows icon structure.
This will override an ico specified to <B>wm iconbitmap</B>, and
vice versa.
<P>
On X, the images are arranged into the _NET_WM_ICON X property, which
most modern window managers support.  A <B>wm iconbitmap</B> may exist
simultaneously.  It is recommended to use not more than 2 icons, placing
the larger icon first.
<P>On Macintosh, the first image called is loaded into an OSX-native icon
format, and becomes the application icon in dialogs, the Dock, and
other contexts. At the
script level the command will accept only the first image passed in the
parameters as support for multiple sizes/resolutions on macOS is outside Tk's
scope. Developers should use the largest icon they can support
(preferably 512 pixels) to ensure smooth rendering on the Mac.
<P><DT><A NAME="M51"><B>wm iconposition </B><I>window</I> ?<I>x y</I>?</A><DD>
If <I>x</I> and <I>y</I> are specified, they are passed to the window
manager as a hint about where to position the icon for <I>window</I>.
In this case an empty string is returned.  If <I>x</I> and <I>y</I> are
specified as empty strings then any existing icon position hint is cancelled.
If neither <I>x</I> nor <I>y</I> is specified, then the command returns
a Tcl list containing two values, which are the current icon position
hints (if no hints are in effect then an empty string is returned).
<P><DT><A NAME="M52"><B>wm iconwindow </B><I>window</I> ?<I>pathName</I>?</A><DD>
If <I>pathName</I> is specified, it is the path name for a window to
use as icon for <I>window</I>: when <I>window</I> is iconified then
<I>pathName</I> will be mapped to serve as icon, and when <I>window</I>
is de-iconified then <I>pathName</I> will be unmapped again.  If
<I>pathName</I> is specified as an empty string then any existing
icon window association for <I>window</I> will be cancelled.  If
the <I>pathName</I> argument is specified then an empty string is
returned.  Otherwise the command returns the path name of the
current icon window for <I>window</I>, or an empty string if there
is no icon window currently specified for <I>window</I>.
Button press events are disabled for <I>window</I> as long as it is
an icon window;  this is needed in order to allow window managers to
&ldquo;own&rdquo;
those events.
Note: not all window managers support the notion of an icon window.
<P><DT><A NAME="M53"><B>wm manage </B><I>widget</I></A><DD>
The <I>widget</I> specified will become a stand alone top-level window.  The
window will be decorated with the window managers title bar, etc. Only
<I>frame</I>, <I>labelframe</I> and <I>toplevel</I> widgets can be used
with this command. Attempting to pass any other widget type will raise
an error. Attempting to manage a <I>toplevel</I> widget is benign and
achieves nothing. See also <B><A HREF="#M66">GEOMETRY MANAGEMENT</A></B>.
<P><DT><A NAME="M54"><B>wm maxsize </B><I>window</I> ?<I>width height</I>?</A><DD>
If <I>width</I> and <I>height</I> are specified, they give
the maximum permissible dimensions for <I>window</I>.
For gridded windows the dimensions are specified in
grid units;  otherwise they are specified in pixel units.
The window manager will restrict the window's dimensions to be
less than or equal to <I>width</I> and <I>height</I>.
If <I>width</I> and <I>height</I> are
specified, then the command returns an empty string.  Otherwise
it returns a Tcl list with two elements, which are the
maximum width and height currently in effect.
The maximum size defaults to the size of the screen.
See the sections on geometry management below for more information.
<P><DT><A NAME="M55"><B>wm minsize </B><I>window</I> ?<I>width height</I>?</A><DD>
If <I>width</I> and <I>height</I> are specified, they give the
minimum permissible dimensions for <I>window</I>.
For gridded windows the dimensions are specified in
grid units;  otherwise they are specified in pixel units.
The window manager will restrict the window's dimensions to be
greater than or equal to <I>width</I> and <I>height</I>.
If <I>width</I> and <I>height</I> are
specified, then the command returns an empty string.  Otherwise
it returns a Tcl list with two elements, which are the
minimum width and height currently in effect.
The minimum size defaults to one pixel in each dimension.
See the sections on geometry management below for more information.
<P><DT><A NAME="M56"><B>wm overrideredirect </B><I>window</I> ?<I>boolean</I>?</A><DD>
If <I>boolean</I> is specified, it must have a proper boolean form and
the override-redirect flag for <I>window</I> is set to that value.
If <I>boolean</I> is not specified then <B>1</B> or <B>0</B> is
returned to indicate whether or not the override-redirect flag
is currently set for <I>window</I>.
Setting the override-redirect flag for a window causes
it to be ignored by the window manager;  among other things, this means
that the window will not be reparented from the root window into a
decorative frame and the user will not be able to manipulate the
window using the normal window manager mechanisms.
<P>
Note that the override-redirect flag is only guaranteed to be taken notice of
when the window is first mapped or when mapped after the state is changed from
withdrawn to normal. Some, but not all, platforms will take notice at
additional times.
<P><DT><A NAME="M57"><B>wm positionfrom </B><I>window</I> ?<I>who</I>?</A><DD>
If <I>who</I> is specified, it must be either <B>program</B> or
<B>user</B>, or an abbreviation of one of these two.  It indicates
whether <I>window</I>'s current position was requested by the
program or by the user.  Many window managers ignore program-requested
initial positions and ask the user to manually position the window;  if
<B>user</B> is specified then the window manager should position the
window at the given place without asking the user for assistance.
If <I>who</I> is specified as an empty string, then the current position
source is cancelled.
If <I>who</I> is specified, then the command returns an empty string.
Otherwise it returns <B>user</B> or <B>program</B> to indicate the
source of the window's current position, or an empty string if
no source has been specified yet.  Most window managers interpret
&ldquo;no source&rdquo;
as equivalent to <B>program</B>.
Tk will automatically set the position source to <B>user</B>
when a <B>wm geometry</B> command is invoked, unless the source has
been set explicitly to <B>program</B>.
<P><DT><A NAME="M58"><B>wm protocol </B><I>window</I> ?<I>name</I>? ?<I>command</I>?</A><DD>
This command is used to manage window manager protocols such as
<B>WM_DELETE_WINDOW</B>.
<I>Name</I> is the name of an atom corresponding to a window manager
protocol, such as <B>WM_DELETE_WINDOW</B> or <B>WM_SAVE_YOURSELF</B>
or <B>WM_TAKE_FOCUS</B>.
If both <I>name</I> and <I>command</I> are specified, then <I>command</I>
is associated with the protocol specified by <I>name</I>.
<I>Name</I> will be added to <I>window</I>'s <B>WM_PROTOCOLS</B>
property to tell the window manager that the application has a
protocol handler for <I>name</I>, and <I>command</I> will
be invoked in the future whenever the window manager sends a
message to the client for that protocol.
In this case the command returns an empty string.
If <I>name</I> is specified but <I>command</I> is not, then the current
command for <I>name</I> is returned, or an empty string if there
is no handler defined for <I>name</I>.
If <I>command</I> is specified as an empty string then the current
handler for <I>name</I> is deleted and it is removed from the
<B>WM_PROTOCOLS</B> property on <I>window</I>;  an empty string is
returned.
Lastly, if neither <I>name</I> nor <I>command</I> is specified, the
command returns a list of all the protocols for which handlers
are currently defined for <I>window</I>.
<P>
Tk always defines a protocol handler for <B>WM_DELETE_WINDOW</B>, even if
you have not asked for one with <B>wm protocol</B>.
If a <B>WM_DELETE_WINDOW</B> message arrives when you have not defined
a handler, then Tk handles the message by destroying the window for
which it was received.
<P><DT><A NAME="M59"><B>wm resizable </B><I>window</I> ?<I>width height</I>?</A><DD>
This command controls whether or not the user may interactively
resize a top-level window.  If <I>width</I> and <I>height</I> are
specified, they are boolean values that determine whether the
width and height of <I>window</I> may be modified by the user.
In this case the command returns an empty string.
If <I>width</I> and <I>height</I> are omitted then the command
returns a list with two 0/1 elements that indicate whether the
width and height of <I>window</I> are currently resizable.
By default, windows are resizable in both dimensions.
If resizing is disabled, then the window's size will be the size
from the most recent interactive resize or <B>wm geometry</B>
command.  If there has been no such operation then
the window's natural size will be used.
<P><DT><A NAME="M60"><B>wm sizefrom </B><I>window</I> ?<I>who</I>?</A><DD>
If <I>who</I> is specified, it must be either <B>program</B> or
<B>user</B>, or an abbreviation of one of these two.  It indicates
whether <I>window</I>'s current size was requested by the
program or by the user.  Some window managers ignore program-requested
sizes and ask the user to manually size the window;  if
<B>user</B> is specified then the window manager should give the
window its specified size without asking the user for assistance.
If <I>who</I> is specified as an empty string, then the current size
source is cancelled.
If <I>who</I> is specified, then the command returns an empty string.
Otherwise it returns <B>user</B> or <B>window</B> to indicate the
source of the window's current size, or an empty string if
no source has been specified yet.  Most window managers interpret
&ldquo;no source&rdquo;
as equivalent to <B>program</B>.
<P><DT><A NAME="M61"><B>wm stackorder </B><I>window</I> ?<B>isabove</B>|<B>isbelow </B><I>window</I>?</A><DD>
The <B>stackorder</B> command returns a list of toplevel windows
in stacking order, from lowest to highest. When a single toplevel
window is passed, the returned list recursively includes all of the
window's children that are toplevels. Only those toplevels
that are currently mapped to the screen are returned.
The <B>stackorder</B> command can also be used to determine if one
toplevel is positioned above or below a second toplevel.
When two window arguments separated by either <B>isabove</B> or
<B>isbelow</B> are passed, a boolean result indicates whether
or not the first window is currently above or below the second
window in the stacking order.
<P><DT><A NAME="M62"><B>wm state </B><I>window</I> ?newstate?</A><DD>
If <I>newstate</I> is specified, the window will be set to the new state,
otherwise it returns the current state of <I>window</I>: either
<B>normal</B>, <B>iconic</B>, <B>withdrawn</B>, <B>icon</B>, or (Windows and Mac
OS X only) <B>zoomed</B>.
The difference between <B>iconic</B> and <B>icon</B> is that
<B>iconic</B> refers to a window that has been iconified (e.g., with the
<B>wm iconify</B> command) while <B>icon</B> refers to a window whose only
purpose is to serve as the icon for some other window (via the <B>wm
iconwindow</B> command).  The <B>icon</B> state cannot be set.
<P><DT><A NAME="M63"><B>wm title </B><I>window</I> ?<I>string</I>?</A><DD>
If <I>string</I> is specified, then it will be passed to the window
manager for use as the title for <I>window</I> (the window manager
should display this string in <I>window</I>'s title bar).  In this
case the command returns an empty string.  If <I>string</I> is not
specified then the command returns the current title for the
<I>window</I>.  The title for a window defaults to its name.
<P><DT><A NAME="M64"><B>wm transient </B><I>window</I> ?<I>container</I>?</A><DD>
If <I>container</I> is specified, then the window manager is informed that
<I>window</I> is a transient window (e.g. pull-down menu) working on
behalf of <I>container</I> (where <I>container</I> is the path name for a
top-level window).  If <I>container</I> is specified as an empty string
then <I>window</I> is marked as not being a transient window any more.
Otherwise the command returns the path name of <I>window</I>'s current
container, or an empty string if <I>window</I> is not currently a
transient window.  A transient window will mirror state changes in the
container and inherit the state of the container when initially mapped. The
directed graph with an edge from each transient to its container must be
acyclic.  In particular, it is an error to attempt to make a window a
transient of itself.  The window manager may also decorate a transient
window differently, removing some features normally present (e.g.,
minimize and maximize buttons) though this is entirely at the
discretion of the window manager.
<P><DT><A NAME="M65"><B>wm withdraw </B><I>window</I></A><DD>
Arranges for <I>window</I> to be withdrawn from the screen.  This
causes the window to be unmapped and forgotten about by the window
manager.  If the window
has never been mapped, then this command
causes the window to be mapped in the withdrawn state.  Not all
window managers appear to know how to handle windows that are
mapped in the withdrawn state.
Note: it sometimes seems to be necessary to withdraw a
window and then re-map it (e.g. with <B>wm deiconify</B>) to get some
window managers to pay attention to changes in window attributes
such as group.
<P></DL>
<H3><A NAME="M66">GEOMETRY MANAGEMENT</A></H3>
By default a top-level window appears on the screen in its
<I>natural size</I>, which is the one determined internally by its
widgets and geometry managers.
If the natural size of a top-level window changes, then the window's size
changes to match.
A top-level window can be given a size other than its natural size in two ways.
First, the user can resize the window manually using the facilities
of the window manager, such as resize handles.
Second, the application can request a particular size for a
top-level window using the <B>wm geometry</B> command.
These two cases are handled identically by Tk;  in either case,
the requested size overrides the natural size.
You can return the window to its natural by invoking <B>wm geometry</B>
with an empty <I>geometry</I> string.
<P>
Normally a top-level window can have any size from one pixel in each
dimension up to the size of its screen.
However, you can use the <B>wm minsize</B> and <B>wm maxsize</B> commands
to limit the range of allowable sizes.
The range set by <B>wm minsize</B> and <B>wm maxsize</B> applies to
all forms of resizing, including the window's natural size as
well as manual resizes and the <B>wm geometry</B> command.
You can also use the command <B>wm resizable</B> to completely
disable interactive resizing in one or both dimensions.
<P>
The <B>wm manage</B> and <B>wm forget</B> commands may be used to
perform undocking and docking of windows.  After a widget is managed
by <B>wm manage</B> command, all other <B>wm</B> subcommands may be used
with the widget.  Only widgets created using the toplevel command may
have an attached menu via the <B>-menu</B> configure option.  A toplevel
widget may be used as a frame and managed with any of the other
geometry managers after using the <B>wm forget</B> command.  Any menu
associated with a toplevel widget will be hidden when managed by
another geometry managers.  The menus will reappear once the window is
managed by <B>wm</B>.  All custom bindtags for widgets in a subtree
that have their top-level widget changed via a <B>wm manage</B> or
<B>wm forget</B> command, must be redone to adjust any top-level widget
path in the bindtags. Bindtags that have not been customized do not
have to be redone.
<H3><A NAME="M67">GRIDDED GEOMETRY MANAGEMENT</A></H3>
Gridded geometry management occurs when one of the widgets of an
application supports a range of useful sizes.
This occurs, for example, in a text editor where the scrollbars,
menus, and other adornments are fixed in size but the edit widget
can support any number of lines of text or characters per line.
In this case, it is usually desirable to let the user specify the
number of lines or characters-per-line, either with the
<B>wm geometry</B> command or by interactively resizing the window.
In the case of text, and in other interesting cases also, only
discrete sizes of the window make sense, such as integral numbers
of lines and characters-per-line;  arbitrary pixel sizes are not useful.
<P>
Gridded geometry management provides support for this kind of
application.
Tk (and the window manager) assume that there is a grid of some
sort within the application and that the application should be
resized in terms of <I>grid units</I> rather than pixels.
Gridded geometry management is typically invoked by turning on
the <B>setGrid</B> option for a widget;  it can also be invoked
with the <B>wm grid</B> command or by calling <B><A HREF="../TkLib/SetGrid.htm">Tk_SetGrid</A></B>.
In each of these approaches the particular widget (or sometimes
code in the application as a whole) specifies the relationship between
integral grid sizes for the window and pixel sizes.
To return to non-gridded geometry management, invoke
<B>wm grid</B> with empty argument strings.
<P>
When gridded geometry management is enabled then all the dimensions specified
in <B>wm minsize</B>, <B>wm maxsize</B>, and <B>wm geometry</B> commands
are treated as grid units rather than pixel units.
Interactive resizing is also carried out in even numbers of grid units
rather than pixels.
<H3><A NAME="M68">BUGS</A></H3>
Most existing window managers appear to have bugs that affect the
operation of the <B>wm</B> command.  For example, some changes will not
take effect if the window is already active:  the window will have
to be withdrawn and de-iconified in order to make the change happen.
<H3><A NAME="M69">EXAMPLES</A></H3>
A fixed-size window that says that it is fixed-size too:
<PRE>toplevel .fixed
<B>wm title</B>     .fixed &quot;Fixed-size Window&quot;
<B>wm resizable</B> .fixed 0 0</PRE>
<P>
A simple dialog-like window, centred on the screen:
<PRE># Create and arrange the dialog contents.
toplevel .msg
label  .msg.l  -text &quot;This is a very simple dialog demo.&quot;
button .msg.ok -text OK -default active -command {destroy .msg}
pack .msg.ok -side bottom -fill x
pack .msg.l  -expand 1    -fill both

# Now set the widget up as a centred dialog.

# But first, we need the geometry managers to finish setting
# up the interior of the dialog, for which we need to run the
# event loop with the widget hidden completely...
<B>wm withdraw</B> .msg
update
set x [expr {([winfo screenwidth .]-[winfo width .msg])/2}]
set y [expr {([winfo screenheight .]-[winfo height .msg])/2}]
<B>wm geometry</B>  .msg +$x+$y
<B>wm transient</B> .msg .
<B>wm title</B>     .msg &quot;Dialog demo&quot;
<B>wm deiconify</B> .msg</PRE>
<H3><A NAME="M70">SEE ALSO</A></H3>
<B><A HREF="../TkCmd/toplevel.htm">toplevel</A></B>, <B><A HREF="../TkCmd/winfo.htm">winfo</A></B>
<H3><A NAME="M71">KEYWORDS</A></H3>
<A href="../Keywords/A.htm#aspect ratio">aspect ratio</A>, <A href="../Keywords/D.htm#deiconify">deiconify</A>, <A href="../Keywords/F.htm#focus model">focus model</A>, <A href="../Keywords/G.htm#geometry">geometry</A>, <A href="../Keywords/G.htm#grid">grid</A>, <A href="../Keywords/G.htm#group">group</A>, <A href="../Keywords/I.htm#icon">icon</A>, <A href="../Keywords/I.htm#iconify">iconify</A>, <A href="../Keywords/I.htm#increments">increments</A>, <A href="../Keywords/P.htm#position">position</A>, <A href="../Keywords/S.htm#size">size</A>, <A href="../Keywords/T.htm#title">title</A>, <A href="../Keywords/T.htm#top-level window">top-level window</A>, <A href="../Keywords/U.htm#units">units</A>, <A href="../Keywords/W.htm#window manager">window manager</A>
<div class="copy">Copyright &copy; 1991-1994 The Regents of the University of California.
<BR>Copyright &copy; 1994-1996 Sun Microsystems, Inc.
</div>
</BODY></HTML>
